package com.laiyizhan.common.mapper;

import com.laiyizhan.common.model.Column;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ColumnMapper {

    List<Column> listById(@Param("parent_id") int parent_id);

    List<Column> listRoot();

    Column findById(@Param("id") int id);
}